﻿@using WineStore.Extends;
@model WineStore.Models.Supplier
@{
    ViewBag.Title = "DeleteSupplier";
    Layout = "~/Views/Shared/AdminLayout.cshtml";
}
 <style type="text/css">
        input, textarea {
            padding: 5px;
            border: 1px solid #ccc;
            border-radius: 3px;
            width: 200px;
            color: #333;
            box-shadow: rgba(0,0,0,0.1)0px 0px 8px;
            -moz-box-shadow: rgba(0,0,0,0.1)0px 0px 8px;
            -webkit-box-shadow: rgba(0,0,0,0.1)0px 0px 8px;
            margin:5px;
        }

        textarea {
            width: 400px;
            height: 100px;
            max-width: 400px;
            line-height: 18px;
            border-radius: 3px;
            margin:5px;
        }

            input:hover, textarea:hover,
            input:focus, textarea:focus {
                border-color: 10px solid #C9C9C9;
                box-shadow: rgba(0,0,0,0.2)0px 0px 8px;
                -moz-box-shadow: rgba(0,0,0,0.2)0px 0px 8px;
                -webkit-box-shadow: rgba(0,0,0,0.2)0px 0px 8px;
                border-radius: 3px;
            }

        input .submit{
            height: 38px;
            background-color: #474E69;
            color: #FFF;
            border-radius: 3px;
            -moz-border-radius: 3px;
            -webkit-border-radius: 3px;
            margin:5px;
        }
    </style>
<h3 class="tit">Xóa nhà mạng
</h3>
<fieldset>
    <legend>Xóa nhà mạng</legend>
    @using (Html.BeginForm("DeleteSupplier", "Supplier", FormMethod.Post, new { enctype = "multipart/form-data" }))
    { 
        @Html.HiddenFor(model => model.SupplierId)
        <table class="nostyle">
            <tbody>
                <tr>
                    <td>Tên nhà mạng:
                    </td>
                    <td>
                        @Html.DisplayFor(model => model.SupplierName)
                    </td>
                </tr>
                
                <tr>
                    <td></td>
                    <td>
                        <input type="submit" value="Xóa" class="submit" style="width:100px; cursor:pointer;"/>
                    </td>
                </tr>
            </tbody>
        </table>
    }
</fieldset>
